﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProductFrontList.ascx.cs" Inherits="UserControls_ProductFrontList" %>
<asp:Repeater ID="productFrontList" runat="server">
	<ItemTemplate>
		<div class="col-md-3 product-item">
			<div class="panel panel-default">
				<div class="panel-heading">
					<a href="<%# Link.ToProduct(Eval("ProductID").ToString()) %>" title="<%# Eval("Name") %>">
						<h3 class="panel-title">
							<%# HttpUtility.HtmlEncode(Eval("Name").ToString()) %>
						</h3>
					</a>
				</div>
				<div class="panel-body">
					<a href="<%# Link.ToProduct(Eval("ProductID").ToString()) %>" title="<%# Eval("Name") %>">
						<img src="Uploads/Thumbnails/<%# Eval("Thumbnail") %>" alt="" width="187" />
					</a>
					<p class="help-block">
						<span class="full-left">
							<%# Eval("Price", "{0:c}") %>
						</span>
						<a href="<%# Link.ToShoppingCart(Eval("ProductID").ToString()) %>" class="btn btn-info btn-xs pull-right"
							title="Add to Cart">Add to Cart </a>
					</p>
				</div>
			</div>
		</div>
	</ItemTemplate>
</asp:Repeater>